package com.hand.entity;

import javax.xml.bind.annotation.*;

/*******************Copyright Information************************
 *              AUTHOR: Lorin.Mitchell                           *
 *              DATE: 2017/11/8                                 *
 *              TIME: 14:08                                      * 
 ****************************************************************/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "name",
        "population",
        "capital",
        "currency"
})
@XmlRootElement(name = "createCountryRequest", namespace = "http://www.hand-china.com")
public class CreateCountryRequest {

    @XmlElement(namespace = "http://www.hand-china.com", required = true)
    protected String name;
    @XmlElement(namespace = "http://www.hand-china.com")
    protected int population;
    @XmlElement(namespace = "http://www.hand-china.com", required = true)
    protected String capital;
    @XmlElement(namespace = "http://www.hand-china.com", required = true)
    @XmlSchemaType(name = "string")
    protected Currency currency;

    /**
     * ��ȡname���Ե�ֵ��
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    public String getName() {
        return name;
    }

    /**
     * ����name���Ե�ֵ��
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * ��ȡpopulation���Ե�ֵ��
     *
     */
    public int getPopulation() {
        return population;
    }

    /**
     * ����population���Ե�ֵ��
     *
     */
    public void setPopulation(int value) {
        this.population = value;
    }

    /**
     * ��ȡcapital���Ե�ֵ��
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    public String getCapital() {
        return capital;
    }

    /**
     * ����capital���Ե�ֵ��
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setCapital(String value) {
        this.capital = value;
    }

    /**
     * ��ȡcurrency���Ե�ֵ��
     *
     * @return
     *     possible object is
     *     {@link Currency }
     *
     */
    public Currency getCurrency() {
        return currency;
    }

    /**
     * ����currency���Ե�ֵ��
     *
     * @param value
     *     allowed object is
     *     {@link Currency }
     *
     */
    public void setCurrency(Currency value) {
        this.currency = value;
    }

}
